<div class="main-content">
    <!-- 内容头部 -->
    <div class="breadcrumbs" id="breadcrumbs">
        <ul class="breadcrumb">
            <li>
                <i class="ace-icon fa fa-user"></i>
                <a href="/index.php/village/index/index">小区管理</a>
            </li>
            <li class="active">未缴账单</li>
        </ul>
    </div>
    <!-- 内容头部 -->
    <div class="page-content">
        <div class="page-content-area">
            <style>
                .ace-file-input a {display:none;}
                .div-intro{ float:right; margin-top:20px}
                .div-intro-detail{width:10px; height:10px; background-color:red; float:left; margin-top:5px}
                .div-intro span{ float:left; margin-left:5px;}
            </style>
            <div class="form-group" style="border:1px solid #c5d0dc;padding:10px;">
                <table class="search_table" width="100%">
                    <tbody><tr>
                        <td>
                            <form action="/index.php/village/order.order/unpayment" method="get">
                                <input type="hidden" name="c" value="Unit">
                                <input type="hidden" name="a" value="cashier_unpaid">

                                筛选: <input type="text" name="keyword" class="input-text" value="" style="height:42px">&nbsp;&nbsp;
                                <select name="searchtype" style="height:42px">
                                    <option value="phone">联系电话</option>
                                    <option value="name">业主姓名</option>
                                    <option value="usernum">物业编号</option>
                                </select>&nbsp;&nbsp;
                                是否绑定微信：
                                <select name="is_bind_weixin" id="is_bind_weixin" style="height:42px;">
                                    <option value="0" selected="selected">全部</option>
                                    <option value="1">是</option>
                                    <option value="2">否</option>
                                </select>
                                &nbsp;&nbsp;
                                <button class="btn btn-success" type="submit">查询</button>&nbsp;&nbsp;
                                <button class="btn btn-success" type="button" onclick="location.href=&#39;/index.php/village/order.order/unpayment&#39;">重置</button>
                            </form>
                        </td>
                    </tr>
                    </tbody></table>
            </div>
<!--            <button class="btn btn-success" onclick="send_weixin(1)">全部发送微信通知</button>&nbsp;-->
<!--            <button class="btn btn-success" onclick="send_weixin(2)">群发微信通知</button>&nbsp;-->
<!--            <button class="btn btn-success" onclick="location.href=&#39;/shequ.php?g=House&amp;c=Unit&amp;a=cashier_unpaid_export&#39;">导出账单</button>-->
<!---->
<!--            <div class="div-intro">-->
<!--                <div class="div-intro-detail" style="background:orange"></div>-->
<!--                <span>业主暂未绑定微信（注：暂时无法收到缴费提醒）</span>-->
<!--            </div>-->

            <div class="row">
                <div class="col-xs-12">
                    <div class="alert alert-info" style="margin:10px 0;">
                        固定统计不随筛选项改变：
                        <b>水费：0</b>　
                        <b>电费：5</b>　
                        <b>燃气费：0</b>　
                        <b>停车费：15</b>　　
                        <b>物业费：2701.5</b>　
                        <b>自定义缴费项欠费汇总：154354.53</b>　
                        <b>合计：157076.03</b>　
                    </div>
                    <div class="tab-pane active" id="txtstore">
                        <div id="shopList" class="grid-view">
                            <table class="table table-striped table-bordered table-hover">
                                <thead>
                                <tr>
                                    <th width="3%" style="text-align:center"><input type="checkbox" class="checkbox_all" style="wdith:20px; height:20px;"></th>
                                    <th width="5%">业主ID</th>
                                    <th width="5%">业主名</th>
                                    <th width="5%">联系方式</th>
                                    <th width="10%">住址</th>
                                    <th width="8%">编号</th>
                                    <!-- <th width="5%">水费</th>
                                    <th width="5%">电费</th>
                                    <th width="8%">燃气费</th>
                                    <th width="5%">停车费</th> -->
                                    <th width="8%">合计</th>
                                    <th width="8%">操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr class="even">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1936" onclick="return Dcheckbox($(this));"></td>
                                    <td>1936</td>
                                    <td>
                                        <div class="tagDiv">劉習生</div>                                                                                                            </td>
                                    <td>18665136255</td>
                                    <td>1号楼八单元1106</td>
                                    <td>1-1-10091</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4749.36元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1936">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1936">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1936" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="odd">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1839" onclick="return Dcheckbox($(this));"></td>
                                    <td>1839</td>
                                    <td>
                                        <div class="tagDiv">心 理 学 讲 师</div>                                                                                                            </td>
                                    <td>13149478520</td>
                                    <td>1号楼八单元1104</td>
                                    <td>1-1-10089</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4804元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1839">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1839">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1839" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="even">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1799" onclick="return Dcheckbox($(this));"></td>
                                    <td>1799</td>
                                    <td>
                                        <div class="tagDiv" style="color:orange">翠翠</div>                                                                                                            </td>
                                    <td>18226623775</td>
                                    <td>1号楼八单元1103</td>
                                    <td>1-1-10088</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4888.05元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1799">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1799">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1799" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="odd">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1796" onclick="return Dcheckbox($(this));"></td>
                                    <td>1796</td>
                                    <td>
                                        <div class="tagDiv">赖业丰</div>                                                                                                            </td>
                                    <td>18665236788</td>
                                    <td>1号楼八单元1102</td>
                                    <td>1-1-10087</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4804元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1796">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1796">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1796" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="even">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1791" onclick="return Dcheckbox($(this));"></td>
                                    <td>1791</td>
                                    <td>
                                        <div class="tagDiv">朱先生</div>                                                                                                            </td>
                                    <td>18816570787</td>
                                    <td>1号楼一单元1110</td>
                                    <td>1-2-3706</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4804元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1791">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1791">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1791" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="odd">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1760" onclick="return Dcheckbox($(this));"></td>
                                    <td>1760</td>
                                    <td>
                                        <div class="tagDiv">董先生</div>                                                                                                            </td>
                                    <td>15954712340</td>
                                    <td>1号楼一单元1109</td>
                                    <td>1-2-3705</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4804元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1760">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1760">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1760" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="even">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1688" onclick="return Dcheckbox($(this));"></td>
                                    <td>1688</td>
                                    <td>
                                        <div class="tagDiv" style="color:orange">陈林</div>                                                                                                            </td>
                                    <td>15889781738</td>
                                    <td>1号楼一单元1106</td>
                                    <td>1-2-3702</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4816元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1688">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1688">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1688" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="odd">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1652" onclick="return Dcheckbox($(this));"></td>
                                    <td>1652</td>
                                    <td>
                                        <div class="tagDiv">李柄宏</div>                                                                                                            </td>
                                    <td>15983288999</td>
                                    <td>1号楼一单元1104</td>
                                    <td>1-2-3701</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4816元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1652">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1652">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1652" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="even">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1651" onclick="return Dcheckbox($(this));"></td>
                                    <td>1651</td>
                                    <td>
                                        <div class="tagDiv">匡敏勇</div>                                                                                                            </td>
                                    <td>17769366868</td>
                                    <td>1号楼一单元1103</td>
                                    <td>1-2-3700</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4816元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1651">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1651">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1651" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="odd">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1611" onclick="return Dcheckbox($(this));"></td>
                                    <td>1611</td>
                                    <td>
                                        --                                                    </td>
                                    <td>--</td>
                                    <td>1号楼一单元1101</td>
                                    <td>1-2-3698</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">3226.31元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1611">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1611">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1611" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="even">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1456" onclick="return Dcheckbox($(this));"></td>
                                    <td>1456</td>
                                    <td>
                                        <div class="tagDiv" style="color:orange">马锐</div>                                                                                                            </td>
                                    <td>18501996932</td>
                                    <td>1号楼八单元1107</td>
                                    <td>1-1-10092</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4816元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1456">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1456">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1456" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="odd">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1125" onclick="return Dcheckbox($(this));"></td>
                                    <td>1125</td>
                                    <td>
                                        --                                                    </td>
                                    <td>--</td>
                                    <td>1号楼一单元121102</td>
                                    <td>1-1-235</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4816元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1125">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1125">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1125" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="even">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1105" onclick="return Dcheckbox($(this));"></td>
                                    <td>1105</td>
                                    <td>
                                        --                                                    </td>
                                    <td>--</td>
                                    <td>1号楼六单元6666</td>
                                    <td>1-1-666</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4816元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1105">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1105">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1105" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="odd">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1069" onclick="return Dcheckbox($(this));"></td>
                                    <td>1069</td>
                                    <td>
                                        --                                                    </td>
                                    <td>--</td>
                                    <td>1号楼八单元8888</td>
                                    <td>1-1-888</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4816元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1069">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1069">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1069" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="even">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1065" onclick="return Dcheckbox($(this));"></td>
                                    <td>1065</td>
                                    <td>
                                        --                                                    </td>
                                    <td>--</td>
                                    <td>1号楼九单元9999</td>
                                    <td>1-9-999</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4847.96元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1065">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1065">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1065" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="odd">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="1055" onclick="return Dcheckbox($(this));"></td>
                                    <td>1055</td>
                                    <td>
                                        --                                                    </td>
                                    <td>18511775715</td>
                                    <td>1号楼一单元21003</td>
                                    <td>1-2-889</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4847.96元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="1055">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="1055">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=1055" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="even">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="993" onclick="return Dcheckbox($(this));"></td>
                                    <td>993</td>
                                    <td>
                                        <div class="tagDiv">郭杰</div>                                                                                                            </td>
                                    <td>15665571255</td>
                                    <td>1号楼七单元7777</td>
                                    <td>1-1-777</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4804元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="993">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="993">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=993" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="odd">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="968" onclick="return Dcheckbox($(this));"></td>
                                    <td>968</td>
                                    <td>
                                        <div class="tagDiv">刘</div>                                                                                                            </td>
                                    <td>13919946666</td>
                                    <td>1号楼五单元5555</td>
                                    <td>1-1-222</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4816元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="968">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="968">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=968" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="even">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="966" onclick="return Dcheckbox($(this));"></td>
                                    <td>966</td>
                                    <td>
                                        <div class="tagDiv">智能秘书</div>                                                                                                            </td>
                                    <td>13177883252</td>
                                    <td>1号楼四单元4444</td>
                                    <td>1-1-200</td>
                                    <!--  <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td>
                                     <td>0.00元</td> -->
                                    <td style="color:red;">4816元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="966">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="966">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=966" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr><tr class="odd">
                                    <td align="center"><input type="checkbox" name="checkbox_one[]" style="wdith:20px; height:20px;" value="857" onclick="return Dcheckbox($(this));"></td>
                                    <td>857</td>
                                    <td>
                                        <div class="tagDiv">管管</div>                                                                                                            </td>
                                    <td>18895319138</td>
                                    <td>1号楼一单元5505</td>
                                    <td>1-1589658</td>
                                    <!--  <td>0.00元</td>
                                     <td>5.00元</td>
                                     <td>0.00元</td>
                                     <td>15.00元</td> -->
                                    <td style="color:red;">3623.91元</td>
                                    <td> <a href="javascript:void(0);" class="label label-info detail" pid="857">明细</a>&nbsp;
                                        <a class="label label-sm label-info" href="javascript:void(0);" onclick="send_weixin(3,this)" pid="857">发送微信通知</a>&nbsp;                                                        <!-- <a  href="/shequ.php?g=House&c=Unit&a=personal_order_list&bind_id=857" style="width: 60px;" class="label label-sm label-info" title="去收款">去收款</a> -->
                                    </td>
                                </tr>                                            <tr><td class="textcenter pagebar" colspan="11"><div class="summary">33 条记录 1/2页</div><div class="pager"><ul class="pagination" id="yw1"><li class="page active"><a href="/index.php/village/order.order/unpayment" title="第1页">1</a></li><li class="page"><a href="/index.php/village/order.order/unpayment" title="第2页">2</a></li><li class="next"><a href="/index.php/village/order.order/unpayment"><i class="ace-icon fa fa-angle-double-right"></i></a></li></ul></div></td></tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<div style="font-size: 30px; padding: 15px;"></div>
<div id="fee_detail" class="grid-view" style="display: none;">
    <table class="table table-striped table-bordered table-hover">
        <tbody>
        <tr>
            <th style="width: 190px;">水费：</th>
            <td style="width: 190px;"><label id="water_price"></label>&nbsp;元</td>
        </tr>
        <tr>
            <th style="width: 190px;">电费：</th>
            <td style="width: 190px;"><label id="electric_price"></label>&nbsp;元</td>
        </tr>
        <tr class="under_line">
            <th style="width: 190px;">燃气费：</th>
            <td style="width: 190px;"><label id="gas_price"></label>&nbsp;元</td>
        </tr>
        <tr class="under_line">
            <th style="width: 190px;">停车费：</th>
            <td style="width: 190px;"><label id="park_price"></label>&nbsp;元</td>
        </tr>
        <tr class="under_line">
            <th style="width: 190px;">物业费：</th>
            <td style="width: 190px;"><label id="property_price"></label>&nbsp;元</td>
        </tr>
        <tr class="under_line">
            <th style="width: 190px;">自定义缴费项欠费汇总：</th>
            <td style="width: 190px;">
                <label id="cunstom_money"></label>
            </td>
        </tr>
        </tbody>
    </table>
</div>
<div id="send_user_type_div" class="grid-view" style="display: none;">
    <table class="table table-striped table-bordered table-hover">
        <tbody>
        <tr>
            <th style="width: 150px; text-align: right;">发送给：</th>
            <td>
                <select name="send_user_type" id="send_user_type" style="width: 250px">
                    <option value="1">仅业主</option>
                    <option value="2">业主和家属</option>
                    <option value="3">仅家属</option>
                </select>
            </td>
        </tr>
        </tbody>
    </table>
    <input type="hidden" name="pigcms_id" value="857">
</div>
<input type="hidden" name="checkedmoney" value="0">
<link rel="stylesheet" href="./property_unpayment_files/mydialog.css"><script type="text/javascript" src="./property_unpayment_files/jquery.artDialog.js.下载"></script>
<script type="text/javascript" src="./property_unpayment_files/iframeTools.js.下载"></script>
<script>
    var Currency_txt  = "元";
    $(".checkbox_all").on('click',function(){

        if($(this).is(':checked')){
            $("input[name='checkbox_one[]']").prop("checked",true);
        }else{
            $("input[name='checkbox_one[]']").prop("checked",false);
        }

    });
    function Dcheckbox(e){
        var n=0;
        var len = $("input[name='checkbox_one[]']").length;
        for(var i=0;i<len;i++){
            if($("input[name='checkbox_one[]']")[i].checked) n++;
        }
        if(n==len){
            $(".checkbox_all").prop("checked",true);
        }else{
            $(".checkbox_all").prop("checked",false);
        }

    }

    $('.detail').click(function(){
        //获得选中费用
        var pigcms_id = $(this).attr("pid");
        $.post("/shequ.php?g=House&c=Cashier&a=ajax_cashier_unpaid_detail",{pigcms_id:pigcms_id},function(result){
            if (result.status>0) {
                alert(result.msg);return false;
            } else if (result.status==0){
                $('#water_price').html(result.data.water_price);
                $('#electric_price').html(result.data.electric_price);
                $('#gas_price').html(result.data.gas_price);
                $('#park_price').html(result.data.park_price);
                $('#property_price').html(result.data.property_price);
                $('#cunstom_money').html(result.data.cunstom_money);

                var html = '';
                html += '<span style="color:orange">总金额：'+result.data.cunstom_money+'&nbsp;'+Currency_txt+'</span><br/>'
                if (result.data.cunstom_list.length > 0) {
                    var cunstom_list = result.data.cunstom_list;
                    for (var i = 0; i < cunstom_list.length; i++) {
                        html += ' <span>'+cunstom_list[i]['payment_name']+'：'+cunstom_list[i]['payment_money']+'&nbsp;'+Currency_txt+'</span><br/>'
                    }
                    $('#cunstom_money').html(html)

                }
            }
        },'json');
        art.dialog({
            content: document.getElementById('fee_detail'),
            id: 'handle',
            title:'欠费详情',
            padding: 0,
            width: 450,
            height: 280,
            lock: true,
            resize: false,
            background:'black',
            fixed: false,
            okVal:'确定',
            cancelVal:'取消',
            left: '50%',
            top: '38.2%',
            opacity:'0.4',
            ok:function (argument) {
            }
        });
        return false;
    })
    //发送微信通知
    function send_weixin(type,obj){
        var confirm_txt = "确认发送微信消息（缴费通知）";
        if (type==2) {
            var len = $("input[name='checkbox_one[]']:checked").length;
            if(len<=0){
                layer.alert('未选中任何业主');return false;
            }
        }
        // var send_user_type = 1;
        art.dialog({
            content: document.getElementById('send_user_type_div'),
            id: 'handle',
            title:'欠费详情',
            padding: 0,
            width: 450,
            height: 280,
            lock: true,
            resize: false,
            background:'black',
            fixed: false,
            okVal:'确定',
            cancelVal:'取消',
            left: '50%',
            top: '38.2%',
            opacity:'0.4',
            ok:function (argument) {
                var send_user_type = $('#send_user_type').val();
                if(type==1){
                    if(confirm(confirm_txt)){
                        var url = "/shequ.php?g=House&c=User&a=send_weixin_notice";
                        $.post(url , {'is_all':1,send_user_type:send_user_type},function(data){
                            alert(data['msg']);
                        },'json')
                    }
                } else if (type==2) {
                    var len = $("input[name='checkbox_one[]']:checked").length;
                    if(len<=0){
                        layer.alert('未选中任何业主');return false;
                    }

                    var length = $("input[name='checkbox_one[]']").length;
                    var ids="";
                    for(var i=0;i<length;i++){
                        if($("input[name='checkbox_one[]']")[i].checked) ids += "," + $("input[name='checkbox_one[]']")[i].value;
                    }

                    if(confirm(confirm_txt)){
                        var url = "/shequ.php?g=House&c=User&a=send_weixin_notice";
                        $.post(url , {'ids':ids,send_user_type:send_user_type},function(data){
                            alert(data['msg']);
                        },'json')
                    }
                } else if (type==3) {
                    if(confirm(confirm_txt)){
                        var pigcms_id = $(obj).attr("pid");
                        var url = "/shequ.php?g=House&c=User&a=send_weixin_notice";
                        $.post(url , {'pigcms_id':pigcms_id,send_user_type:send_user_type},function(data){
                            alert(data['msg']);
                        },'json')
                    }
                }
            }
        });
    }
</script>
<div id="orderAlert" style="position: fixed; z-index: 999999; bottom: 5px; right: 5px; background: #e5e5e5; display: none;">
    <div style="text-align: center; margin-top: 10px; font-size: 20px; color: red;">
        <b>新订单来啦!</b> <a class="oaright" href="javascript:closeoa()">[关闭]</a>
    </div>
    <div style="margin: 20px 30px 5px 30px; cursor: pointer;" onclick="tourl()">
        您好：有<span class="label label-info" id="oanum"></span>笔新订单来了！
    </div>
    <div style="margin: 5px 30px 5px 30px; cursor: pointer;" onclick="tourl()">
        截止目前，一共有<span class="label label-info" id="oatnum"></span>笔订单未处理
    </div>
    <div class="oaright" style="bottom: 10px; margin: 5px 30px 5px 30px;">
        时间：<a id="oatime" style="text-decoration: none;"></a>
    </div>
</div>
<div style="position: fixed; top: -9999px; right: -9999px; display: none;" id="soundsw"></div>
<a href="/index.php/village/order.order/unpayment" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
    <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
</a>

<script>
    function newalert(title){
        bootbox.dialog({
            message: title,
            buttons: {
                "success" : {
                    "label" : "确认",
                    "className" : "btn-sm btn-primary"
                }
            }
        });
    }

    function alertshow(content){
        $('#popalertwindowcontent').html(content);
        $('#popalertwindow').show();
    }
</script>

<div style="position: fixed; width: 100%; height: 100%; top: 0px; left: 0px; display: none;" id="popalertwindow">
    <div style="width: 100%; height: 100%; background: #eeeeee; filter: alpha(opacity = 50); -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5; position: absolute; z-index: 9999;"></div>
    <div style="position: relative; width: 500px; height: 200px; margin: 200px auto; filter: alpha(opacity = 100); -moz-opacity: 1; -khtml-opacity: 1; opacity: 1; z-index: 10000; background: #ffffff; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; -webkit-box-shadow: #666 0px 0px 10px; -moz-box-shadow: #666 0px 0px 10px; box-shadow: #666 0px 0px 10px;">
        <div style="height: 40px;"></div>
        <div style="width: 400px; height: 90px; margin: 0px auto; color: #999999; text-align: center; font-size: 20px;">
            <table style="width: 400px; height: 90px;">
                <tbody>
                <tr>
                    <td id="popalertwindowcontent"></td>
                </tr>
                </tbody>
            </table>
        </div>
        <div style="height: 20px;"></div>
        <div style="width: 80px; height: 40px; background: #eeeeee; margin: 0 auto; line-height: 40px; text-align: center; font-size: 20px; border: 1px solid #999999; cursor: pointer;" onclick="$(&#39;#popalertwindow&#39;).hide();">确认</div>
    </div>
</div>